#define SIZE 20

struct listNode
{
        PCB *data;
        struct listNode *nextPtr;
};

typedef struct listNode ListNode;
typedef ListNode *ListNodePtr;

struct list{
        ListNodePtr head;
        ListNodePtr tail;
};

typedef struct list List;
typedef List *ListPtr;


void queue_init(void);
void show(char *option);
void insertpcb(char *value, int class, char *queue, int priority);

void removepcb(char *data, char *queue);

void insert(ListPtr sPtr, PCB* p);
char delete(ListPtr sPtr, char *value);
int isEmpty(ListPtr sPtr);
void printList(char *queueName);
void instructions(void);
void insertfifo(ListPtr sPtr, PCB* p);

void print_pcb(PCB* p ); 
